<h1>Listing comments</h1>

<table>
  <tr>
    <th>Talk</th>
    <th>Body</th>
  </tr>

<% for talkee in @talkees %>
  <tr>
    <td><%=h talkee.talk_id %></td>
    <td><%=h talkee.body %></td>
    <td><%= link_to 'Show', [@talk, talkee] %></td>
    <td><%= link_to 'Edit', [:edit, @talk, talkee] %></td>
    <td><%= link_to 'Destroy', [@talk, talkee], 
      :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New comment', 
  new_talk_talkee_path(@talk) %>
